define(function (require) {
    var $ = require('$')

    function resize() {
        var h = (document.documentElement.clientHeight - 79) + 'px';

        $('.body-wrap').css('height', h);
    }

    resize();

    $(document).resize(function () {
        resize();
    });
});